.class public Lcom/xingbook/park/view/SettingView;
.super Landroid/widget/LinearLayout;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/xingbook/d/c;


# instance fields
.field a:Landroid/content/Context;

.field b:Z

.field private c:Lcom/xingbook/d/d;

.field private d:Landroid/widget/ImageView;

.field private e:Landroid/widget/ImageView;

.field private f:Landroid/widget/ImageView;

.field private g:Landroid/widget/ImageView;

.field private h:Lcom/xingbook/d/a;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    invoke-direct {p0, p1, p2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/park/view/SettingView;->b:Z

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Lcom/xingbook/d/d;Lcom/xingbook/d/a;)V
    .locals 3

    invoke-direct {p0, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/park/view/SettingView;->b:Z

    iput-object p1, p0, Lcom/xingbook/park/view/SettingView;->a:Landroid/content/Context;

    iput-object p2, p0, Lcom/xingbook/park/view/SettingView;->c:Lcom/xingbook/d/d;

    iput-object p3, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-interface {p2, p0}, Lcom/xingbook/d/d;->setReadSetting(Lcom/xingbook/d/c;)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, -0x1

    const/4 v2, -0x2

    invoke-direct {v0, v1, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const v1, 0x7f030039

    const/4 v2, 0x0

    invoke-static {p1, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/xingbook/park/view/SettingView;->a(Landroid/view/View;)V

    invoke-virtual {p0}, Lcom/xingbook/park/view/SettingView;->b()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-static {}, Lcom/xingbook/c/a;->a()Lcom/xingbook/c/a;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/c/a;->d()V

    :cond_0
    invoke-virtual {p0, v1, v0}, Lcom/xingbook/park/view/SettingView;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method private a(I)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->a:Landroid/content/Context;

    const-string v1, ""

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/widget/Toast;->setText(I)V

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    return-void
.end method


# virtual methods
.method public a(Landroid/view/View;)V
    .locals 5

    const/16 v4, 0xff

    const/4 v2, 0x0

    const/4 v1, 0x1

    const v0, 0x7f0a01f9

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/park/view/SettingView;->e:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->e:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->y()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->e:Landroid/widget/ImageView;

    const v3, 0x7f02021c

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->e:Landroid/widget/ImageView;

    const-string v3, "slient"

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    :goto_0
    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->d()Lcn/a/a/c;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/c;->a()I

    move-result v0

    const/4 v3, 0x4

    if-eq v0, v3, :cond_0

    const/4 v3, 0x7

    if-eq v0, v3, :cond_0

    const/4 v3, 0x5

    if-eq v0, v3, :cond_0

    const/4 v3, 0x2

    if-ne v0, v3, :cond_4

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->e:Landroid/widget/ImageView;

    const/16 v3, 0x8

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->w()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v3, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->h()Lcn/a/a/i;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/i;->b()I

    move-result v0

    if-eq v0, v4, :cond_3

    move v0, v1

    :goto_1
    invoke-virtual {v3, v0}, Lcom/xingbook/d/a;->a(Z)V

    :cond_1
    :goto_2
    const v0, 0x7f0a01fb

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/park/view/SettingView;->d:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->d:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->v()Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->d:Landroid/widget/ImageView;

    const v1, 0x7f02020d

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->d:Landroid/widget/ImageView;

    const-string v1, "hand"

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    :goto_3
    const v0, 0x7f0a01fa

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/park/view/SettingView;->f:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->f:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->x()Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->f:Landroid/widget/ImageView;

    const-string v1, "close"

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->f:Landroid/widget/ImageView;

    const v1, 0x7f020222

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    :goto_4
    const v0, 0x7f0a01fc

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/park/view/SettingView;->g:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->g:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->z()Z

    move-result v0

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->g:Landroid/widget/ImageView;

    const-string v1, "nonloop"

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->g:Landroid/widget/ImageView;

    const v1, 0x7f020217

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    :goto_5
    return-void

    :cond_2
    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->e:Landroid/widget/ImageView;

    const v3, 0x7f02021b

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->e:Landroid/widget/ImageView;

    const-string v3, "narrator"

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    goto/16 :goto_0

    :cond_3
    move v0, v2

    goto/16 :goto_1

    :cond_4
    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->w()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    iget-object v3, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v3}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v3

    invoke-virtual {v3}, Lcn/a/a/a;->h()Lcn/a/a/i;

    move-result-object v3

    invoke-virtual {v3}, Lcn/a/a/i;->b()I

    move-result v3

    if-eq v3, v4, :cond_5

    :goto_6
    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->a(Z)V

    goto/16 :goto_2

    :cond_5
    move v1, v2

    goto :goto_6

    :cond_6
    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->d:Landroid/widget/ImageView;

    const v1, 0x7f020210

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->d:Landroid/widget/ImageView;

    const-string v1, "auto"

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    goto/16 :goto_3

    :cond_7
    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->f:Landroid/widget/ImageView;

    const-string v1, "open"

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->f:Landroid/widget/ImageView;

    const v1, 0x7f02021f

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto :goto_4

    :cond_8
    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->g:Landroid/widget/ImageView;

    const-string v1, "loop"

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->g:Landroid/widget/ImageView;

    const v1, 0x7f02021a

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto :goto_5
.end method

.method public a(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/park/view/SettingView;->b:Z

    return-void
.end method

.method public a()Z
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->v()Z

    move-result v0

    return v0
.end method

.method public b()Z
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->x()Z

    move-result v0

    return v0
.end method

.method public c()Z
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->y()Z

    move-result v0

    return v0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    invoke-static {}, Lcom/xingbook/c/a;->a()Lcom/xingbook/c/a;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/xingbook/c/a;->a(I)V

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    iget-boolean v0, p0, Lcom/xingbook/park/view/SettingView;->b:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->a:Landroid/content/Context;

    check-cast v0, Lcom/xingbook/park/activity/ReadingAct;

    invoke-virtual {v0}, Lcom/xingbook/park/activity/ReadingAct;->b()V

    :cond_0
    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/xingbook/park/view/SettingView;->setVisibility(I)V

    return-void

    :pswitch_0
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    const-string v1, "narrator"

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const v0, 0x7f08002e

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/SettingView;->a(I)V

    const v0, 0x7f02021c

    invoke-virtual {p1, v0}, Landroid/view/View;->setBackgroundResource(I)V

    const-string v0, "slient"

    invoke-virtual {p1, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0, v3}, Lcom/xingbook/d/a;->c(Z)V

    :goto_1
    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->c:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->a()V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0, v2}, Lcom/xingbook/d/a;->c(Z)V

    const v0, 0x7f08002f

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/SettingView;->a(I)V

    const v0, 0x7f02021b

    invoke-virtual {p1, v0}, Landroid/view/View;->setBackgroundResource(I)V

    const-string v0, "narrator"

    invoke-virtual {p1, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto :goto_1

    :pswitch_1
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    const-string v1, "auto"

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const v0, 0x7f080032

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/SettingView;->a(I)V

    const v0, 0x7f02020d

    invoke-virtual {p1, v0}, Landroid/view/View;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0, v3}, Lcom/xingbook/d/a;->a(Z)V

    const-string v0, "hand"

    invoke-virtual {p1, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    :goto_2
    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->c:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->a()V

    goto :goto_0

    :cond_2
    const v0, 0x7f080033

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/SettingView;->a(I)V

    const v0, 0x7f020210

    invoke-virtual {p1, v0}, Landroid/view/View;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0, v2}, Lcom/xingbook/d/a;->a(Z)V

    const-string v0, "auto"

    invoke-virtual {p1, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto :goto_2

    :pswitch_2
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    const-string v1, "open"

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    const v0, 0x7f080030

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/SettingView;->a(I)V

    const v0, 0x7f020222

    invoke-virtual {p1, v0}, Landroid/view/View;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->c:Lcom/xingbook/d/d;

    invoke-interface {v0, v3}, Lcom/xingbook/d/d;->a(Z)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0, v3}, Lcom/xingbook/d/a;->b(Z)V

    const-string v0, "close"

    invoke-virtual {p1, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto/16 :goto_0

    :cond_3
    const v0, 0x7f080031

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/SettingView;->a(I)V

    const v0, 0x7f02021f

    invoke-virtual {p1, v0}, Landroid/view/View;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->c:Lcom/xingbook/d/d;

    invoke-interface {v0, v2}, Lcom/xingbook/d/d;->a(Z)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0, v2}, Lcom/xingbook/d/a;->b(Z)V

    const-string v0, "open"

    invoke-virtual {p1, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto/16 :goto_0

    :pswitch_3
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    const-string v1, "loop"

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    const v0, 0x7f080034

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/SettingView;->a(I)V

    const v0, 0x7f020217

    invoke-virtual {p1, v0}, Landroid/view/View;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0, v3}, Lcom/xingbook/d/a;->d(Z)V

    const-string v0, "nonloop"

    invoke-virtual {p1, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto/16 :goto_0

    :cond_4
    const v0, 0x7f080035

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/SettingView;->a(I)V

    const v0, 0x7f02021a

    invoke-virtual {p1, v0}, Landroid/view/View;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    invoke-virtual {v0, v2}, Lcom/xingbook/d/a;->d(Z)V

    const-string v0, "loop"

    invoke-virtual {p1, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0a01f9
        :pswitch_0
        :pswitch_2
        :pswitch_1
        :pswitch_3
    .end packed-switch
.end method

.method public setAutoFlip(Z)V
    .locals 2

    if-eqz p1, :cond_0

    const v0, 0x7f080032

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/SettingView;->a(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->d:Landroid/widget/ImageView;

    const v1, 0x7f02020d

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->a(Z)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->d:Landroid/widget/ImageView;

    const-string v1, "hand"

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    :goto_0
    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->c:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->a()V

    return-void

    :cond_0
    const v0, 0x7f080033

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/SettingView;->a(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->d:Landroid/widget/ImageView;

    const v1, 0x7f020210

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->a(Z)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->d:Landroid/widget/ImageView;

    const-string v1, "auto"

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    goto :goto_0
.end method

.method public setVoiceOpen(Z)V
    .locals 2

    if-eqz p1, :cond_0

    const v0, 0x7f08002e

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/SettingView;->a(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->e:Landroid/widget/ImageView;

    const v1, 0x7f02021c

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->e:Landroid/widget/ImageView;

    const-string v1, "slient"

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->c(Z)V

    :goto_0
    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->c:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->a()V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->h:Lcom/xingbook/d/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->c(Z)V

    const v0, 0x7f08002f

    invoke-direct {p0, v0}, Lcom/xingbook/park/view/SettingView;->a(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->e:Landroid/widget/ImageView;

    const v1, 0x7f02021b

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/view/SettingView;->e:Landroid/widget/ImageView;

    const-string v1, "narrator"

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    goto :goto_0
.end method
